#pragma once
#include "BaseFunByOneVar.h"

namespace Net
{

class FunByExp : public BaseFunByOneVar
{
public:
    FunByExp() : BaseFunByOneVar(FunType_E::Exp_E, "Exp")
    {

    }

    ~FunByExp()
    {

    }

    Value_t runFun(Value_t x) final
    {
        return std::exp(x);
    }

    Value_t runDiff(Value_t x) final
    {
        return std::exp(x);
    }
};

}